<template>
    <div>
      <span class="hintTextBox" v-hint-text.top="'background: blue'">提示文字</span>
      <!--<span class="hintTextBox" v-tooltip.left.warning="a">提示文字</span>-->
    </div>
</template>

<script>
import { mapState, mapMutations, mapGetters, mapActions } from 'vuex';
/* eslint-disable*/
export default {
  name: 'notFound',
  data() {
    return {
    }
  },
  methods: {
    ...mapActions(['q']),
    ...mapMutations(['add', 'w']),
  },
  computed: {
    ...mapState(['a', 'abc']),
    ...mapGetters(['addABC', 'as']),
  },
  created() {
    console.log(this.$store);
    this.q();
  },
};
</script>

<style scoped lang="scss">
div{
  position: relative;
  width: 100vw;
  height: 100vh;
  background-color: chartreuse;
  .hintTextBox{
    width: 2rem;
    line-height: 1rem;
    height: 1rem;
    border: 1px solid #ccc;
    display: block;
    text-align: center;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    margin: auto;
    background-color: #fff;
  }
}
</style>
